package org.answer.service;

import org.answer.entity.PageResult;
import org.answer.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult pageQuery(Integer currentPage,Integer pageSize, String queryString);

    void deleteById(Integer id);

    Setmeal findById(Integer id);

    List<Integer> findCheckGroupIdsBySetmealId(Integer id);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();
}
